﻿using MediatR;
using System.Collections.Generic;

namespace Extensions.DomainEvent;

public interface IDomainEvents
{
    IEnumerable<INotification> GetDomainEvents();
    void AddDomainEvent(INotification eventItem);
    void ClearDomainEvents();

}